package com.emperor.transaction.logic;

import com.emperor.core.logic.BizModel;
import com.emperor.course.logic.Course;
import com.emperor.product.logic.Product;
import com.emperor.receipt.logic.Receipt;
import com.emperor.treatment.logic.Treatment;

public interface Transaction extends BizModel {

	public static final String FLD_ID = "id";
	public static final String FLD_PRODUCT = "product";
	public static final String FLD_COURSE = "course";
	public static final String FLD_TREATMENT = "treatment";
	public static final String FLD_DISCOUNT = "discount";
	public static final String FLD_RECEIPT = "receipt";
	public static final String FLD_STATUS = "status";
	public static final String FLD_PRICE = "price";
	public static final String FLD_SPECIALPRICE = "specialprice";
	public static final String FLD_QUANTITY = "quantity";
	public static final String FLD_WEIGHT = "weight";
	public static final String FLD_WEIGHTUOM = "weightuom";
	public static final String FLD_SUBTOTAL = "subtotal";
	public static final String FLD_CUSTDISCOUNT = "custdiscount";
	public static final String FLD_DISCOUNTAMT = "discountamt";
	public static final String FLD_TOTALCOST = "totalcost";
	public static final String FLD_TYPE = "type";
	
	public static final int TYPE_PRODUCT = 1;
	public static final int TYPE_COURSE = 2;
	public static final int TYPE_TREATMENT = 3;
	
	public Long getId();

	public void setId(Object id);

	public Product getProduct();

	public void setProduct(Object product);
	
	public Course getCourse();
	
	public void setCourse(Object course);
	
	public Treatment getTreatment();
	
	public void setTreatment(Object treatment);

	public Double getPrice();

	public void setPrice(Object price);

	public Double getDiscount();

	public void setDiscount(Object discount);

	public Receipt getReceipt();

	public void setReceipt(Object receipt);

	public String getStatus();

	public void setStatus(Object status);
	
	public Double getQuantity();

	public void setQuantity(Object quantity);
	
	public Double getWeight();

	public void setWeight(Object weight);

	public String getWeightuom();

	public void setWeightuom(Object weightuom);

	public Double getSubtotal();

	public void setSubtotal(Object subtotal);
	
	public Boolean getCustdiscount();
	
	public void setCustdiscount(Object custdiscount);
	
	public Double getSpecialprice();
	
	public void setSpecialprice(Object specialprice);
	
	public Double getDiscountamt();
	
	public void setDiscountamt(Object discountamt);
	
	public Double getTotalcost();
	
	public void setTotalcost(Object totalcost);
	
	public Integer getType();
	
	public void setType(Object type);
}
